﻿<Page
    x:Class="BeanScratchDemo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BeanScratchDemo"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <Grid>
        <TextBlock HorizontalAlignment="Left" Margin="10,23,0,0" TextWrapping="Wrap" Text="Bean Scratch Demo" VerticalAlignment="Top" FontSize="36"/>
        <TextBlock x:Name="DeviceTextBlock" HorizontalAlignment="Left" Margin="22,96,0,0" TextWrapping="Wrap" Text="unknown" VerticalAlignment="Top" FontSize="16"/>
        <TextBlock x:Name="ConnectionStateTextBlock" HorizontalAlignment="Left" Margin="108,96,0,0" TextWrapping="Wrap" Text="(disconnected)" VerticalAlignment="Top" FontSize="16" Foreground="Red"/>
        <ToggleSwitch x:Name="LedToggleSwitch" Header="Led" HorizontalAlignment="Left" Margin="22,135,0,0" VerticalAlignment="Top" FontFamily="Global User Interface" Toggled="LedToggleSwitch_Toggled"/>
        <TextBlock x:Name="ScratchValueTextBlock" HorizontalAlignment="Left" Margin="22,280,0,0" TextWrapping="Wrap" Text="Temperature:" VerticalAlignment="Top" Foreground="Lime" FontSize="36" FontWeight="Bold"/>

    </Grid>
</Page>